package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 外管证对象 yt_outer_tube_pass
 * 
 * @author magichaohao
 * @date 2021-05-19
 */
public class YtOuterTubePass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 外管证id */
    private Long outerTubePassId;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customerId;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeOfApplication;

    /** 经办人 */
    @Excel(name = "经办人")
    private String operator;

    /** 经办人手机号 */
    @Excel(name = "经办人手机号")
    private String operatorNumber;

    /** 经营地区 */
    @Excel(name = "经营地区")
    private String businessArea;

    /** 项目单位 */
    @Excel(name = "项目单位")
    private String projectUnit;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 合同金额 */
    @Excel(name = "合同金额")
    private BigDecimal contractAmount;

    /** 管理编码 */
    @Excel(name = "管理编码")
    private String managementCode;

    /** 截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationDate;

    private YtCustomerMsg ytCustomerMsg;

    public void setOuterTubePassId(Long outerTubePassId) 
    {
        this.outerTubePassId = outerTubePassId;
    }

    public Long getOuterTubePassId() 
    {
        return outerTubePassId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setTimeOfApplication(Date timeOfApplication) 
    {
        this.timeOfApplication = timeOfApplication;
    }

    public Date getTimeOfApplication() 
    {
        return timeOfApplication;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setOperatorNumber(String operatorNumber) 
    {
        this.operatorNumber = operatorNumber;
    }

    public String getOperatorNumber() 
    {
        return operatorNumber;
    }
    public void setBusinessArea(String businessArea) 
    {
        this.businessArea = businessArea;
    }

    public String getBusinessArea() 
    {
        return businessArea;
    }
    public void setProjectUnit(String projectUnit) 
    {
        this.projectUnit = projectUnit;
    }

    public String getProjectUnit() 
    {
        return projectUnit;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setContractAmount(BigDecimal contractAmount) 
    {
        this.contractAmount = contractAmount;
    }

    public BigDecimal getContractAmount() 
    {
        return contractAmount;
    }
    public void setManagementCode(String managementCode) 
    {
        this.managementCode = managementCode;
    }

    public String getManagementCode() 
    {
        return managementCode;
    }
    public void setExpirationDate(Date expirationDate) 
    {
        this.expirationDate = expirationDate;
    }

    public Date getExpirationDate() 
    {
        return expirationDate;
    }

    public YtCustomerMsg getYtCustomerMsg() {
        return ytCustomerMsg;
    }

    public void setYtCustomerMsg(YtCustomerMsg ytCustomerMsg) {
        this.ytCustomerMsg = ytCustomerMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("outerTubePassId", getOuterTubePassId())
            .append("customerId", getCustomerId())
            .append("timeOfApplication", getTimeOfApplication())
            .append("operator", getOperator())
            .append("operatorNumber", getOperatorNumber())
            .append("businessArea", getBusinessArea())
            .append("projectUnit", getProjectUnit())
            .append("projectName", getProjectName())
            .append("contractAmount", getContractAmount())
            .append("managementCode", getManagementCode())
            .append("expirationDate", getExpirationDate())
            .toString();
    }
}
